{extend name="public:base" /}
{block name="theme"}日志管理{/block}
{block name="small_theme"}日志列表{/block}
{block name="breadcrumb"}
<li><a href="{:url('index')}">日志列表</a></li>
<li class="active">日志首页</li>
{/block}
{block name="content"}
<!--<link rel="stylesheet" href="__CSS__/style.css">-->
<link rel="stylesheet" href="__CSS__/indexcommon.css">

<section class="content" style="min-height: 60px;font-size: 14px;">
    <form method="post" action="{:url('order_All_Log')}" >
        <div class="box_">
            <div class="box_left">
                <div class="form-group">
                    <label>订单ID</label>
                    <input type="text" class="form-control" name="order_id" placeholder="ID或妈妈电话" value="{$map.order_id}" >
                </div>
                <div class="form-group">
                    <label>客户端</label>
                    <select class="form-control" name="khd">
                        <option value="" >全部</option>
                        {foreach name='khd' item='vo' key='k'}
                            <option value="{$k}" {eq name="map.khd" value="$k"}selected="selected"{/eq}>{$vo}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="form-group">
                    <label>操作名称</label>
                    <select class="form-control" name="operation">
                        <option value="" >全部</option>
                        {foreach name='operation' item='vo' key='k'}
                            <option value="{$k}" {eq name="map.operation" value="$k"}selected="selected"{/eq}>{$vo}</option>
                        {/foreach}
                    </select>
                </div>
                <div style="margin-left: 20px;">
                    <button class="btn btn-primary">开始查询</button>
                </div>
            </div>
        </div>
    </form>
</section>
<!-- 查询结束 -->
<!-- 列表开始 -->
<div class="row">
    <div class="col-xs-12">
        <div class="box box-list">
            <div class="box-header" data-original-title="" style="height: 40px;"></div>
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding" >
                <table class="table table-striped table-bordered table-condensed">
                    <tr>
                        <th>订单id</th>
                        <th>操作客户端</th>
                        <th>操作名称</th>
                        <th>操作人员</th>
                        <th>顾客姓名</th>
                        <th>妈妈电话</th>
                        <th>爸爸电话</th>
                        <th>顾客微信</th>
                        <th>顾客QQ</th>
                        <th>地区</th>
                        <th>收集医院</th>
                        <th>预产日期</th>
                        <th>渠道</th>
                        <th>建单部门</th>
                        <th>业务状态</th>
                        <th>邀约客服</th>
                        <th>摄影场地</th>
                        <th>活动门店</th>
                        <th>活动状态</th>
                        <th>渠道备注</th>
                        <th>邀约备注</th>
                        <th>会所备注</th>
                        <th>ip</th>
                        <th>修改时间</th>

                    </tr>
                    {volist name='list' id='info'}
                        <tr class="">
                            <th>{$info.order_id}</th>
                            <th>{$info.khd_text}</th>
                            <th>{$info.operation_text}</th>
                            <th>{$info.czry_text}</th>
                            <th>{$info.name}</th>
                            <th>{$info.maphone}</th>
                            <th>{$info.otherphone}</th>
                            <th>{$info.weixin}</th>
                            <th>{$info.qq}</th>
                            <th>{$info.area_text}</th>
                            <th>{$info.yyxx_text}</th>
                            <th>{neq name="info['yctime']" value="1970-01-01" }
                                {$info.yctime}{/neq}</th>
                            <th>{$info.qdxx_text}</th>
                            <th>{$info.bumen_text}</th>
                            <th>{$info.state_text}</th>
                            <th>{$info.yykf_text}</th>
                            <th>{$info.yycg_text}</th>
                            <th>{$info.hsmd_text}</th>
                            <th>{$info.hszt_text}</th>
                            <td><span class="tanchu" data-toggle="tooltip" data-placement="right" title="{$info.qdbz}">{$info.qdbz|msubstr=0,4}</span></td>
                            <td><span class="tanchu" data-toggle="tooltip" data-placement="right" title="{$info.yybz}">{$info.yybz|msubstr=0,4}</span></td>
                            <td><span class="tanchu"  data-toggle="tooltip" data-placement="right" title="{$info.psbz}">{$info.psbz|msubstr=0,4}</span></td>
                            <th>{$info.ip}</th>
                            <th>{$info.cztime}
                        </tr>
                    {/volist}

                </table>
            </div>
            <div class="page">{$page}</div>
        </div>
        <!-- /.box -->
    </div>
</div>
<!-- 列表结束 -->
</div>
{/block}

{block name="js"}
<script type="text/javascript">
    highlight_subnav("{:url('order_All_Log')}");
</script>
{/block}
